<template>
  <div class="content">
    <div class="content-box">
      <div class="content-box-item">
        <div class="content-box-item-text">{{ val.contentLeft }}</div>
        <div style="margin-top: 40px;">
          <img :src="val.imgLeft" alt width="100%" />
        </div>
      </div>
      <div class="content-box-item">
        <div>
          <img :src="val.imgRight" alt width="100%" />
        </div>
        <div style="margin-top: 40px;" class="content-box-item-text">{{ val.contentRight }}</div>
      </div>
    </div>
    <div class="content-bg">
      <div
        style="width:1000px;height:560px;overflow: hidden;display: flex; justify-content: center;align-items: center;"
      >
        <img :src="val.imgBottom" alt width="100%" />
      </div>
    </div>
  </div>
</template>

<script>
import { platform } from "@/utils/api";
export default {
  data() {
    return {
      val: {}
    };
  },
  created() {
    this.init();
  },
  methods: {
    init() {
      platform({}, res => {
        if (res.code === 200) {
          this.val = res.data;
        }
      });
    }
  }
};
</script>

<style scoped lang="scss">
[v-cloak] {
  display: none;
}
.content {
  // max-width: 1920px;
  // min-width: 1440px;
  min-height: calc(100vh - 486px);
  margin: auto;
  background-color: rgb(255, 255, 255);
  &-box {
    width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    &-item {
      width: 565px;
      margin-top: 80px;
      &-text {
        font-size: 18px;
        font-weight: 400;
        color: #666666;
        line-height: 36px;
      }
    }
  }
  &-bg {
    width: 100%;
    height: 636px;
    margin-top: 115px;
    background: url("../../images/3-bg.png") no-repeat;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
</style>
